//
//  E7Scene.cpp
//  E7_ENGINE
//
//  Created by cc on 12-2-28.
//  Copyright (c) 2012年 PalmGame. All rights reserved.
//

#include "E7Scene.h"

CE7Scene::CE7Scene()
{
//    autorelease() ;
    m_pDirector = NULL ;
    m_fTotalTime = INVALID_FLOAT ;
    m_eStep = S_ERROR ;
}

CE7Scene::~CE7Scene()
{
}

bool CE7Scene::Init(CCDirector* pDirector)
{
    m_pDirector = pDirector ;
    return true ;
}

bool CE7Scene::Clear()
{
    return true ;
}

void CE7Scene::Start()
{
    m_eStep = S_START ;
}

void CE7Scene::Pause()
{
    if (S_START != m_eStep)
    {
        return ;
    }

    m_eStep = S_PAUSE ;
}

void CE7Scene::Resume()
{
    if (S_PAUSE != m_eStep)
    {
        return ;
    }

    m_eStep = S_START ;
}

void CE7Scene::Stop()
{
    m_eStep = S_STOP ;
}









